package com.maven.manager.service.article;

import com.center.api.model.EduArticle;
import com.center.api.remote.RemoteEduArticleService;
import org.apache.dubbo.config.annotation.Reference;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ArticleService {

     @Reference(version = "1.0")
    private RemoteEduArticleService remoteEduArticleService;

     public List<EduArticle> list(){
         return remoteEduArticleService.list(null);
     }
}
